package com.darren.euc.util;

import java.util.HashMap;

/**
 * Created by JUECHENG at 2018/3/12 14:17.
 */
public class Kv<K,V> extends HashMap{

    public static Kv of(){
        return new Kv();
    }

    public static Kv of(Object k, Object v){
        return new Kv().set(k,v);
    }

    public Kv<K, V> set(K k, V v){
        put(k, v);
        return this;
    }

}
